/*
 * Copyright (c) GoKeep by gokeep.org. 2022-2023. All rights reserved
 */
package org.gokeep.common.constant.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum CachePrefixEnum {
    REDIS_ORG_TREE_KEY("ORG::TREE::COMPANY_ID::%s", "公司组织机构树"),
    CAFFEINE_SESSION_MAPPING("LOCAL_CACHE::SESSION_ID::%s", "本地缓存session原始信息"),
    REDIS_USER_HOST_SESSION_ID("K-USER_HOST_SESSION_ID::USER_ID::%s::CLIENT_TYPE::%s", "用户以及客户端类型对应的用户主机信息");
    private final String cacheKey;
    private final String desc;
}